package com.ruoyi.teamCustomer.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.teamCustomer.domain.bo.TeamCustomerBo;
import com.ruoyi.teamCustomer.domain.vo.TeamCustomerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeamCustomerMapper {

    /**
     * 团队客户
     */
    Page<TeamCustomerVo> selectPageTeamCustomerList(@Param("page") Page<TeamCustomerVo> page,
            @Param(Constants.WRAPPER) Wrapper<TeamCustomerBo> queryWrapper);

    /**
     * 团队客户
     */
    List<TeamCustomerVo> queryInfoList(
            @Param(Constants.WRAPPER) Wrapper<TeamCustomerBo> queryWrapper);


    List<String> atDeptLower(@Param("deptId") Long deptId);
}
